<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>tab</title>

    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .options {
            width: 400px;
            height: 300px;
            margin: 30px auto;
            position: relative;
        }

        .options ul{
            height: 34px;
            list-style: none;
            position: relative;
            z-index:2;
        }

        .options li{
            width: 195px;
            height: 33px;
            border: 1px solid #e74f4d;
            border-bottom: none;
            text-align: center;
            line-height: 33px;
            background-color: lightgray;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
        }

        li:hover {
            height: 34px;
            border-radius: 10px 8px 0 0;
            background-color: #fff;
        }


        .con {
            width: 398px;
            height: 200px;
            position: absolute;
            top: 34px;
            border: 1px solid #e74f4d;
            border-radius: 0 0 5px 5px;
            z-index:1;
        }

        .fl{
            float: left;
        }

        .fr {
            float: right;
        }

    </style>
</head>
<body>
    <div class="options">
        <ul>
            <li class="active fl">一</li>
            <li class="fr">二</li>
        </ul>

        <div class="con"></div>
    </div>

    <script>
    </script>
</body>
</html>